package com.zwh.dao;

import com.zwh.entity.User;
import org.springframework.stereotype.Repository;

@Repository
public interface UserDao {
    //根据用户名查询用户‘
    User findByUserName(String username);
    //在数据库中保存用户信息
    void save(User user);
}
